<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>展示页面</title>
</head>
<body>
修改完成展示
<p th:text="${user.name}"></p>
<p th:text="${user.age}"></p>
<p th:text="${#dates.format(user.birthday, 'yyyy-MM-dd')}"></p>
<hr/>
选择表达式
<div th:object="${user}">
    姓名：<span th:text="*{name}"></span><br />
    年龄：<span th:text="*{age}"></span><br />
    生日：<span th:text="*{#dates.format(birthday,'yyyy-MM-dd')}"></span><br/>
    性别：<input type="radio" th:field="*{sex}" th:value="1">男</input>
        <input type="radio" th:field="*{sex}" th:value="2">女</input>
    <hr/>

</div>
</body>
</html>